<?php
/**
 * @package		简易CMS
 * @subpackage	插件处理类
 * @version		$Id: class_plugins.php 8 2012-06-07 12:37:35Z htmambo@gmail.com $
 * @author		Hoping
 * @copyright	Copyright (C) 2010 Hoping Software Studio.
 */

//保证此文件不被直接执行
defined( 'IN_JYCMS' ) or die( 'Direct Access to this location is not allowed.' );

class cmsPlugins {
	var $pluginname = '';
	var $params = array();
	var $plugin_url = '';

	function __construct($params = array()){
		$this->cmsPlugins($params);
	}

	function cmsPlugins($params = array()){
		$this->params = $params;
	}

	// Mobile Access ?
	function isKtai(){
		return	(
			(function_exists('is_mobile') && is_mobile()) ||
			(function_exists('is_ktai')   && is_ktai())
			);
	}

}

